import { gql } from '@apollo/client';

export const GET_PRODUCTS = gql`query getProducts {
    products(first: 50) {
    edges {
      node {
        title
        handle
        descriptionHtml
        id
        images(first: 1) {
          edges {
            node {
              id
              originalSrc
              altText
            }
          }
        }
        variants(first: 1) {
          edges {
            node {
              price
              id
            }
          }
        }
      }
    }
  }
  }`